package com.m3958.firstgwt.server.service;

import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.m3958.firstgwt.server.camel.CamelService;
import com.m3958.firstgwt.server.ftpserver.FtpService;

@Singleton
public class ServiceDelayStartService {
	
	@Inject
	private CamelService cs;
	
	@Inject
	private FtpService fs;
	
	public void start(){
		try {
			fs.start();
			cs.start();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
